﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F79 RID: 3961
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicSettleScRsp : IMessage<RogueMagicSettleScRsp>, IMessage, IEquatable<RogueMagicSettleScRsp>, IDeepCloneable<RogueMagicSettleScRsp>, IBufferMessage
	{
		// Token: 0x17003234 RID: 12852
		// (get) Token: 0x0600B16C RID: 45420 RVA: 0x001DF704 File Offset: 0x001DD904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicSettleScRsp> Parser
		{
			get
			{
				return RogueMagicSettleScRsp._parser;
			}
		}

		// Token: 0x17003235 RID: 12853
		// (get) Token: 0x0600B16D RID: 45421 RVA: 0x001DF70B File Offset: 0x001DD90B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicSettleScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003236 RID: 12854
		// (get) Token: 0x0600B16E RID: 45422 RVA: 0x001DF71D File Offset: 0x001DD91D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicSettleScRsp.Descriptor;
			}
		}

		// Token: 0x0600B16F RID: 45423 RVA: 0x001DF724 File Offset: 0x001DD924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicSettleScRsp()
		{
		}

		// Token: 0x0600B170 RID: 45424 RVA: 0x001DF72C File Offset: 0x001DD92C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicSettleScRsp(RogueMagicSettleScRsp other) : this()
		{
			this.tournFinishInfo_ = ((other.tournFinishInfo_ != null) ? other.tournFinishInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.iEFEBAGKBGO_ = ((other.iEFEBAGKBGO_ != null) ? other.iEFEBAGKBGO_.Clone() : null);
			this.bCDDLGGMDJK_ = ((other.bCDDLGGMDJK_ != null) ? other.bCDDLGGMDJK_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B171 RID: 45425 RVA: 0x001DF7CC File Offset: 0x001DD9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicSettleScRsp Clone()
		{
			return new RogueMagicSettleScRsp(this);
		}

		// Token: 0x17003237 RID: 12855
		// (get) Token: 0x0600B172 RID: 45426 RVA: 0x001DF7D4 File Offset: 0x001DD9D4
		// (set) Token: 0x0600B173 RID: 45427 RVA: 0x001DF7DC File Offset: 0x001DD9DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicFinishInfo TournFinishInfo
		{
			get
			{
				return this.tournFinishInfo_;
			}
			set
			{
				this.tournFinishInfo_ = value;
			}
		}

		// Token: 0x17003238 RID: 12856
		// (get) Token: 0x0600B174 RID: 45428 RVA: 0x001DF7E5 File Offset: 0x001DD9E5
		// (set) Token: 0x0600B175 RID: 45429 RVA: 0x001DF7ED File Offset: 0x001DD9ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003239 RID: 12857
		// (get) Token: 0x0600B176 RID: 45430 RVA: 0x001DF7F6 File Offset: 0x001DD9F6
		// (set) Token: 0x0600B177 RID: 45431 RVA: 0x001DF7FE File Offset: 0x001DD9FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x1700323A RID: 12858
		// (get) Token: 0x0600B178 RID: 45432 RVA: 0x001DF807 File Offset: 0x001DDA07
		// (set) Token: 0x0600B179 RID: 45433 RVA: 0x001DF80F File Offset: 0x001DDA0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList IEFEBAGKBGO
		{
			get
			{
				return this.iEFEBAGKBGO_;
			}
			set
			{
				this.iEFEBAGKBGO_ = value;
			}
		}

		// Token: 0x1700323B RID: 12859
		// (get) Token: 0x0600B17A RID: 45434 RVA: 0x001DF818 File Offset: 0x001DDA18
		// (set) Token: 0x0600B17B RID: 45435 RVA: 0x001DF820 File Offset: 0x001DDA20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKOLGODIMF BCDDLGGMDJK
		{
			get
			{
				return this.bCDDLGGMDJK_;
			}
			set
			{
				this.bCDDLGGMDJK_ = value;
			}
		}

		// Token: 0x0600B17C RID: 45436 RVA: 0x001DF829 File Offset: 0x001DDA29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicSettleScRsp);
		}

		// Token: 0x0600B17D RID: 45437 RVA: 0x001DF838 File Offset: 0x001DDA38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicSettleScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.TournFinishInfo, other.TournFinishInfo) && this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this.IEFEBAGKBGO, other.IEFEBAGKBGO) && object.Equals(this.BCDDLGGMDJK, other.BCDDLGGMDJK) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B17E RID: 45438 RVA: 0x001DF8C8 File Offset: 0x001DDAC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.tournFinishInfo_ != null)
			{
				num ^= this.TournFinishInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.iEFEBAGKBGO_ != null)
			{
				num ^= this.IEFEBAGKBGO.GetHashCode();
			}
			if (this.bCDDLGGMDJK_ != null)
			{
				num ^= this.BCDDLGGMDJK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B17F RID: 45439 RVA: 0x001DF95F File Offset: 0x001DDB5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B180 RID: 45440 RVA: 0x001DF967 File Offset: 0x001DDB67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B181 RID: 45441 RVA: 0x001DF970 File Offset: 0x001DDB70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.tournFinishInfo_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.TournFinishInfo);
			}
			if (this.iEFEBAGKBGO_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.IEFEBAGKBGO);
			}
			if (this.bCDDLGGMDJK_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.BCDDLGGMDJK);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B182 RID: 45442 RVA: 0x001DFA20 File Offset: 0x001DDC20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.tournFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournFinishInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.iEFEBAGKBGO_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IEFEBAGKBGO);
			}
			if (this.bCDDLGGMDJK_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BCDDLGGMDJK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B183 RID: 45443 RVA: 0x001DFAC0 File Offset: 0x001DDCC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicSettleScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.tournFinishInfo_ != null)
			{
				if (this.tournFinishInfo_ == null)
				{
					this.TournFinishInfo = new RogueMagicFinishInfo();
				}
				this.TournFinishInfo.MergeFrom(other.TournFinishInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueMagicCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.iEFEBAGKBGO_ != null)
			{
				if (this.iEFEBAGKBGO_ == null)
				{
					this.IEFEBAGKBGO = new ItemList();
				}
				this.IEFEBAGKBGO.MergeFrom(other.IEFEBAGKBGO);
			}
			if (other.bCDDLGGMDJK_ != null)
			{
				if (this.bCDDLGGMDJK_ == null)
				{
					this.BCDDLGGMDJK = new KOKOLGODIMF();
				}
				this.BCDDLGGMDJK.MergeFrom(other.BCDDLGGMDJK);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B184 RID: 45444 RVA: 0x001DFBAC File Offset: 0x001DDDAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B185 RID: 45445 RVA: 0x001DFBB8 File Offset: 0x001DDDB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 66U)
				{
					if (num == 58U)
					{
						if (this.tournFinishInfo_ == null)
						{
							this.TournFinishInfo = new RogueMagicFinishInfo();
						}
						input.ReadMessage(this.TournFinishInfo);
						continue;
					}
					if (num == 66U)
					{
						if (this.iEFEBAGKBGO_ == null)
						{
							this.IEFEBAGKBGO = new ItemList();
						}
						input.ReadMessage(this.IEFEBAGKBGO);
						continue;
					}
				}
				else
				{
					if (num == 98U)
					{
						if (this.bCDDLGGMDJK_ == null)
						{
							this.BCDDLGGMDJK = new KOKOLGODIMF();
						}
						input.ReadMessage(this.BCDDLGGMDJK);
						continue;
					}
					if (num == 106U)
					{
						if (this.rogueTournCurSceneInfo_ == null)
						{
							this.RogueTournCurSceneInfo = new RogueMagicCurSceneInfo();
						}
						input.ReadMessage(this.RogueTournCurSceneInfo);
						continue;
					}
					if (num == 112U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040047CF RID: 18383
		private static readonly MessageParser<RogueMagicSettleScRsp> _parser = new MessageParser<RogueMagicSettleScRsp>(() => new RogueMagicSettleScRsp());

		// Token: 0x040047D0 RID: 18384
		private UnknownFieldSet _unknownFields;

		// Token: 0x040047D1 RID: 18385
		public const int TournFinishInfoFieldNumber = 7;

		// Token: 0x040047D2 RID: 18386
		private RogueMagicFinishInfo tournFinishInfo_;

		// Token: 0x040047D3 RID: 18387
		public const int RetcodeFieldNumber = 14;

		// Token: 0x040047D4 RID: 18388
		private uint retcode_;

		// Token: 0x040047D5 RID: 18389
		public const int RogueTournCurSceneInfoFieldNumber = 13;

		// Token: 0x040047D6 RID: 18390
		private RogueMagicCurSceneInfo rogueTournCurSceneInfo_;

		// Token: 0x040047D7 RID: 18391
		public const int IEFEBAGKBGOFieldNumber = 8;

		// Token: 0x040047D8 RID: 18392
		private ItemList iEFEBAGKBGO_;

		// Token: 0x040047D9 RID: 18393
		public const int BCDDLGGMDJKFieldNumber = 12;

		// Token: 0x040047DA RID: 18394
		private KOKOLGODIMF bCDDLGGMDJK_;
	}
}
